Lisa is playing hide and seek with Janey Powell when Ned Flanders' lawn mower suddenly turns on and kills her. At Janey's funeral, Sherri and Terri say that as Lisa has lost her best friend for life on a tragedy and is now interesting. She can be their best friend for life, but they are immediately crushed by a falling tombstone. To forget the trauma of losing three best friends for life in two days, Lisa goes to a counselor, who says to Lisa that she can think about her as her best friend for life, but the doctor is killed by a falling painting.
At the doctor's funeral ceremony, Lisa starts being investigated for the murder of her friends. Chief Wiggum finds sparkle nail polish on Lisa's room and claims that it was found on all four crime scenes. Lisa reveals that she only used it with her former imaginary friend Rachel, whom Lisa spent time with since she had no friends. They played together a lot, but she eventually outgrew her. Lisa than states she never saw Rachael after that, or used that sparkly nail polish either. Chief Wiggum does not believe her and will keep his eye on her.
The next day at the school bus, all the kids fear Lisa except Milhouse, but Rachel appears and asphyxiates him with a plastic bag. Chief Wiggum observes Lisa on the bus and arrests her. At the police station, Lisa mentions that Marge was right about Rachel, which infuriates her even more. Lisa soon realizes that Rachel will try to kill Marge and escapes from jail with Bart's help. Chief Wiggum meanwhile is killed by being stabbed in the neck with a shiv by Snake Jailbird.
Lisa gets home in time to save Marge from being killed and Rachel reveals her plan to kill everyone who Lisa loves and people will blame Lisa as nobody can see her. Rachel tries to kill Homer, but he occupies her with his imaginary friend: Sargent Sausage. Rachel shoves Sargent Sausage into the microwave and he explodes. Lisa then realizes that as Rachel only exists in her imagination, she can turn her into anything she wants, so she turns Rachel into her own mother, who is married to a dentist. Rachel then disappears for good. Homer, saddened by the loss of Sargent Sausage, eats his remains from the microwave, but Sargent Sausage reveals that he can't die, and the segment finishes with Homer ordering him to "get inside his stomach".